package com.rui.decorator.obj;

/**
 * @Description: 炒饭加鸡蛋加火腿类
 * @Author: ZhangRui
 * @Date: 2023/3/3 9:29
 * @Version: 1.0
 */
public class FriedRiceAddEggAndHam extends FriedRiceAddEgg {

    @Override
    public String getDesc() {
        return super.getDesc() + "+火腿";
    }

    @Override
    public Integer getPrice() {
        return super.getPrice() + 3;
    }
}